<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Customer Login</title>
</head>
<body>
<%@include file="Header.jsp"%><br><br>

<center>

<c:if test="${ErrorMessage!=null}" >
	<c:out value="${ErrorMessage}"></c:out>
</c:if>
<c:if test="${ username!=null}">
	<c:set var="username" value="${username}">
	</c:set>
</c:if>

</center>

<center>
	
<c:if test="${AckMessage!=null}">
	<c:out value="${AckMessage}"></c:out>
</c:if>
	

</center>

<center><h3>Customer Sign in</h3></center><br>
<center><form action="/redbox/login" method="post" >
		UserName: <input type="text" name="username"  value="${username}"  /><br><br> 
		Password: <input type="password" name="password" /><br><br>
		
		<input type="submit" value="Sign in"/>
		 <input type="reset" value="Cancel"> 
	</form></center>
<%@include file="Footer.jsp"%>
</body>
</html>